<?php
class Design_Model extends CI_Model
{
    protected $_lang = '';
	function __construct() {
        parent::__construct();
    }
    public function initialise($lang)
    {
        if($lang!=''&&$lang!='vn')
            $this->_lang = '_'.$lang;
        else
            $this->_lang = '';
    }
	
	function saveDesign($data)
	{
		if(!empty($data)){
		  if($this->db->insert('design',$data)){
				return true;
		  }else{
				return false;
		  }
	 }
}
}
?>
